package com.association.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * 区域
 * Created by keyong on 2020/4/19/019.
 */
@Data
@Builder
@ApiModel(value = "district",description = "省市区数据")
public class DistrictBo {
    // region // ID
    @ApiModelProperty(name = "id",value = "唯一标识", required = true, example = "00a3acc862964c3b932334fe94926394")
    // endregion
    private String id;
    //region // 编码
    @ApiModelProperty(name = "code",value = "编码", required = true, position = 1, example = "500000")
    //endregion
    private String code;                //  编码
    //region // 名称
    @ApiModelProperty(name = "name",value = "名称",required = true, position = 2, example = "重庆市")
    //endregion
    private String name;                //  名称
    //region // 拼音
    @ApiModelProperty(name = "pinYin",value = "拼音", position = 3, example = "chongqingshi")
    //endregion
    private String pinYin;              //  拼音
    //region // 父级编号
    @ApiModelProperty(name = "parentId",value = "父级编号", position = 4, example = "00a3acc862964c3b932334fe94922558")
    //endregion
    private String parentId;            //  父级编号
    //region // 父级编码
    @ApiModelProperty(name = "parentCode",value = "父级编码", position = 5, example = "023")
    //endregion
    private String parentCode;          //  父级编码
    //region // 级别
    @ApiModelProperty(name = "districtLevel",value = "级别", position = 6, example = "3")
    //endregion
    private Double districtLevel;       //  级别
    //region // 状态
    @ApiModelProperty(name = "status",value = "状态",required = true, position = 9, example = "VALID")
    //endregion
    private String status;              //  状态
    //region // 是否可见
    @ApiModelProperty(name = "isVisible",value = "是否可见", position = 12, allowableValues = "Y|N", example = "Y")
    //endregion
    private String isVisible;           //  是否可见
    //region // 国际代码
    @ApiModelProperty(name = "gbCode",value = "国际代码", position = 13, example = "123213")
    //endregion
    private String gbCode;              //  国际代码
    //region // 版本号
    @ApiModelProperty(name = "versionNo",value = "版本号", dataType = "Integer", position = 15, example = "1543975511583")
    //endregion
    private Long versionNo;             //  版本号
}
